(set: $guess to (num: (prompt: "Guess a number between 1 and 100."))) (set: $numGuesses to $numGuesses + 1) (if: $guess < $answer)[ [[My guess is...|Too Low]]] (elseif: $guess > $answer)[ [[My guess is...|Too High]] ] (else:)[ [[My guess is...|Win]] ] (set: $answer to (random: 1, 100)) (set: $numGuesses to 0) (set: $previousGuesses to (array:)) Welcome to a number guessing game. I am thinking of a number between 1 and 100. You will be asked to guess it. I will tell you if your guess is higher or lower than the number I've chosen. You win by guessing my number! [[Continue to the game |Guess]] Your guess is too low. [[Try again |Guess]] Your number is too high. [[Try again |Guess]] Congratulations! You guessed the correct number, $answer, in $numGuesses guesses!